package com.promis.party.pojo.enums;

import com.promis.party.pojo.IEnum;

/**
 * 类说明：
 *      -2 冻结为平台发现违规后的拉黑状态
 *      -3 账号被其他用户实名申诉后的失效状态
 * @author 曾昱文
 */
public enum AccountState implements IEnum {
	NORMAL(1, "正常"), FROZEN(-2, "冻结"), INVALID(-3, "失效");

    private int value;
    private String explain;

    private AccountState(int value, String explain) {
        this.value = value;
        this.explain = explain;
    }
    
    public int getValue() {
		return value;
	}

	public String getExplain() {
		return explain;
	}
}
